Ext.define('App.main.view.NavCenter', {
    extend: 'Extend.navbar.TabNav',
    alias: ['widget.NavCenter'],
    requires: [
        'App.authorization.user.view.UserList',
        'App.authorization.role.view.RoleList',
        'App.authorization.resource.view.ResourceList',
        'App.order.view.OrderList',
        'App.user.vacation.view.VacationList',
        'App.activiti.task.view.TaskList',
        'App.activiti.editor.nbmp.view.NbmpList',
        'App.activiti.process.view.ProcessList'
    ],
    items: [{
        xtype: 'tabpanel', title: '权限管理', icon: 'discount1.png',
        items: [{
            xtype: 'UserList',
            title: '用户用户'
        }, {
            xtype: 'RoleList',
            title: '角色管理'
        }, {
            xtype: 'ResourceList',
            title: '资源管理'
        }]
    }, {
        xtype: 'tabpanel',
        title: '订单管理',
        icon: 'discount1.png',
        layout: 'border',
        items: [{
            title: '订单管理',
            xtype: 'OrderList',
            region: 'center'
        }]
    }, {
        xtype: 'tabpanel',
        title: '流程设计',
        icon: 'discount1.png',
        layout: 'border',
        items: [{
            title: '业务流程',
            xtype: 'NbmpList',
            region: 'center'
        }]
    }, {
        xtype: 'tabpanel',
        title: '流程管理',
        icon: 'discount1.png',
        layout: 'border',
        items: [{
            title: '订单管理',
            xtype: 'OrderList',
            region: 'center'
        }]
    }, {
        xtype: 'tabpanel',
        title: '工作流',
        icon: 'discount1.png',
        layout: 'border',
        items: [{
            title: '新建工作',
            xtype: 'ProcessList',
            region: 'center'
        }, {
            title: '等办工作',
            xtype: 'TaskList',
            region: 'center'
        }, {
            title: '已办工作',
            xtype: 'TaskList',
            region: 'center'
        }]
    }
    ]
})